package com.tmxk.spring;

public class TestSysRole {
    public static void main(String[] args) {
        //实例化SysRole对象
        SysRole sysRole = new SysRole();
        //set赋值
        sysRole.setRoleId(1001);
        sysRole.setRoleName("管理员");
        //构造赋值
        SysRole sysRole1 = new SysRole(1002,"普通员工");

        System.out.println("sysRole:" + sysRole);
        System.out.println("sysRole1:" + sysRole1);
    }
}
